package com.yhsoft.buyer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yhsoft.buyer.controller.request.CartInVo;
import com.yhsoft.buyer.controller.response.CartOutVo;
import com.yhsoft.buyer.entity.BuyerCart;
import com.yhsoft.common.vo.Result;

import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-09-26
 */
public interface IBuyerCartService extends IService<BuyerCart> {

    Result<?>  addToCart(CartInVo inVo, boolean isFastAdd);

    List<CartOutVo> getCart();

}
